<div class="mb-3">
    <a class="btn btn-sm {if $ac=='my'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('message','my')}">最新消息</a>
    <a class="btn btn-sm {if $ac=='system'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('message','system')}">系统消息</a>
    <a class="btn btn-sm {if $ac=='friend' || $ac=='user'}btn-outline-secondary{else}text-secondary{/if}" href="{tsUrl('message','friend')}">好友消息</a>
</div>

<hr />